package com.woniu34.user.api;

import com.woniu34.user.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "user-service")
public interface UserApi {
    @RequestMapping("findByUserAccountAndPassword")
    User findByUserAccountAndPassword(@RequestParam("userAccount") String userAccount,@RequestParam("password") String password);
}
